import es.deusto.ingenieria.is.csp.formulation.CSPproblem;


public class GemProblem extends CSPproblem<Gem> {
	
	private Board board;
	
	public GemProblem(String xml) {
		this.board = new GemXMLParser(xml).getTablero();
		this.addVariables(board.getAllCells());
		BoardSingletone.createInstance(board);
	}
	
	public String toString() {
		return this.board.toString();
	}
}
